<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="top">
<div class="iq-top-navbar">
  <div class="iq-navbar-custom">
    <div class="iq-sidebar-logo">
      <div class="top-logo">
        <a href="../index.html" class="logo">
          <img th:src="@{/images/logo.gif}" class="img-fluid" alt="">
          <span>vito</span>
        </a>
      </div>
    </div>
    <nav class="navbar navbar-expand-lg navbar-light p-0">
      <div class="navbar-left">
        <ul id="topbar-data-icon" class="d-flex p-0 topbar-menu-icon">
          <li class="nav-item">
            <a href="../index.html" class="nav-link font-weight-bold search-box-toggle"><i class="ri-home-4-line"></i></a>
          </li>
          <li><a href="chat.html" class="nav-link"><i class="ri-message-line"></i></a></li>
          <li><a href="e-commerce-product-list.html" class="nav-link"><i class="ri-file-list-line"></i></a></li>
          <li><a href="profile.html" class="nav-link"><i class="ri-question-answer-line"></i></a></li>
          <li><a href="todo.html" class="nav-link router-link-exact-active router-link-active"><i class="ri-chat-check-line"></i></a></li>
          <li><a href="app/index.html" class="nav-link"><i class="ri-inbox-line"></i></a></li>
        </ul>
        <div class="iq-search-bar">
          <form action="#" class="searchbox">
            <input type="text" class="text search-input" placeholder="Type here to search...">
            <a class="search-link" href="#"><i class="ri-search-line"></i></a>
            <div class="searchbox-datalink">
              <h6 class="pl-3 pt-3">Pages</h6>
              <ul class="m-0 pl-3 pr-3 pb-3">
                <li class="iq-bg-primary-hover rounded"><a href="../index.html" class="nav-link router-link-exact-active router-link-active pr-2"><i class="ri-home-4-line pr-2"></i>Dashboard</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="dashboard-1.html" class="nav-link router-link-exact-active router-link-active pr-2"><i class="ri-home-3-line pr-2"></i>Dashboard-1</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="chat.html" class="nav-link"><i class="ri-message-line pr-2"></i>Chat</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="calendar.html" class="nav-link"><i class="ri-calendar-2-line pr-2"></i>Calendar</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="profile.html" class="nav-link"><i class="ri-profile-line pr-2"></i>Profile</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="todo.html" class="nav-link"><i class="ri-chat-check-line pr-2"></i>Todo</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="app/index.html" class="nav-link"><i class="ri-mail-line pr-2"></i>Email</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="e-commerce-product-list.html" class="nav-link"><i class="ri-message-line pr-2"></i>Product Listing</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="e-commerce-product-detail.html" class="nav-link"><i class="ri-file-list-line pr-2"></i>Product Details</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="pages-faq.html" class="nav-link"><i class="ri-compasses-line pr-2"></i>Faq</a></li>
                <li class="iq-bg-primary-hover rounded"><a href="form-wizard.html" class="nav-link"><i class="ri-clockwise-line pr-2"></i>Form-wizard</a></li>
              </ul>
            </div>
          </form>
        </div>
      </div>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-label="Toggle navigation">
        <i class="ri-menu-3-line"></i>
      </button>
      <div class="iq-menu-bt align-self-center">
        <div class="wrapper-menu">
          <div class="main-circle"><i class="ri-arrow-left-s-line"></i></div>
          <div class="hover-circle"><i class="ri-arrow-right-s-line"></i></div>
        </div>
      </div>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav ml-auto navbar-list">
          <li class="nav-item">
            <a class="search-toggle iq-waves-effect language-title" href="#"><img  th:src="@{/images/small/flag-01.png}" alt="img-flaf" class="img-fluid mr-1" style="height: 16px; width: 16px;"> English <i class="ri-arrow-down-s-line"></i></a>
            <div class="iq-sub-dropdown">
              <a class="iq-sub-card" href="#"><img  th:src="@{/images/small/flag-02.png}" alt="img-flaf" class="img-fluid mr-2">French</a>
              <a class="iq-sub-card" href="#"><img  th:src="@{/images/small/flag-03.png}" alt="img-flaf" class="img-fluid mr-2">Spanish</a>
              <a class="iq-sub-card" href="#"><img  th:src="@{/images/small/flag-04.png}" alt="img-flaf" class="img-fluid mr-2">Italian</a>
              <a class="iq-sub-card" href="#"><img  th:src="@{/mages/small/flag-05.png}" alt="img-flaf" class="img-fluid mr-2">German</a>
              <a class="iq-sub-card" href="#"><img  th:src="@{/images/small/flag-06.png}" alt="img-flaf" class="img-fluid mr-2">Japanese</a>
            </div>
          </li>
        </ul>
      </div>
      <ul class="navbar-list">
        <li>
          <a href="#" class="search-toggle iq-waves-effect d-flex align-items-center bg-primary rounded">
            <img th:src="@{/images/user/1.jpg}" class="img-fluid rounded mr-3" alt="user">
            <div class="caption">
              <h6 class="mb-0 line-height text-white">你好</h6>
              <span class="font-size-12 text-white" th:text="${session.USER.getEmail()}"></span>
            </div>
          </a>
          <div class="iq-sub-dropdown iq-user-dropdown">
            <div class="iq-card shadow-none m-0">
              <div class="iq-card-body p-0 ">
                <div class="bg-primary p-3">
                  <h5 class="mb-0 text-white line-height">你好</h5>
                  <span class="font-size-12 text-white" th:text="${session.USER.getEmail()}"></span>
                </div>
                <div class="d-inline-block w-100 text-center p-3">
                  <a class="bg-primary iq-sign-btn" th:href="@{/loginOut}" role="button">登出<i class="ri-login-box-line ml-2"></i></a>
                </div>
              </div>
            </div>
          </div>
        </li>
      </ul>
    </nav>


  </div>
</div>
</div>
</body>
</html>